package com.umakr.ax.common.mapper;

import com.umakr.ax.common.model.Area;
import com.umakr.ax.common.vo.AreaVO;
import com.umakr.ax.core.base.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * Mapper接口
 * </p>
 *
 * @author Umakr-Code-Generator
 * @since 2017-12-30
 */
public interface AreaMapper extends BaseMapper<Area> {

    List<Map<String,Object>> listAreasByPid(@Param("pid")Long pid);

    List<AreaVO> listAreaNodesByPid(@Param("pId")Long pId);
}